﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace powerbuilder
{
    class Program
    {
        static void Main(string[] args)
        {
            int[] numbers = { 5, 2, 3 };
            var numsPlusOne = from n in numbers
                              select n + 1;

            Console.WriteLine("Numbers + 1: ");

            foreach (var item in numsPlusOne)
            {
                Console.WriteLine(item);
            }

            Console.ReadKey();
        }
    }
}
